<extend name="Public/main" />

<block name="body">
	<div class="wrap jj">
		<div class="nav">
			<ul class="cc">
				<li class="current"><a href="{:U('Opus/index')}">分类列表 </a></li>
				<li><a href="{:U('Opus/add')}">添加分类 </a></li>
			</ul>
		</div>
		<div class="common-form">
	
				<div class="table_list">
					<table width="100%">
						<thead>
							<tr>
								<td align='center'>ID</td>
								<td>作品名称</td>
								<td align='left'>作品分类</td>
								<td align='left'>作品URL</td>
								<td align='left'>作品图片</td>
								<!-- <td align='center'>访问</td> -->
								<td align='center'>添加时间</td>
								<td align='center'>更改时间</td>
								<td align='center'>作品作者</td>
								<td align='center'>操作</td>
							</tr>
						</thead>
						<?php foreach ($opusdb as $k => $v) {?>
						<tbody>
								<td align='center'><?php  echo $v['opusid']; ?></td>
								<td align='left'><?php  echo $v['opus_title']; ?></td>
								<td align='left'><?php  echo $v['opus_lang']; ?></td>
								<td align='left'><?php  echo $v['opus_url']; ?></td>
								<td align='center'><img width="20" height="20" src="__ROOT__/<?php  echo $v['opus_thumb']; ?>"  alt=""></td>
								<!-- <td align='center'>访问</td> -->
								<td align='center'><?php  echo date_friendly($v['opus_sendtime']); ?></td>
								<td align='center'><?php  echo $v['opus_updatetime']; ?></td>
								<td align='center'><?php  echo $v['opus_author']; ?></td>
								<td align='center'><a href="">删除</a><a href="">修改</a></td>
						</tbody>
						<?php }  ?>
					</table>
				<!-- 	<div class="btn_wrap">
						<div class="btn_wrap_pd">
							<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
						</div>
					</div> -->
				</div>
		</div>
	</div>
</block>